<template>
  <!--  信息查看	急诊病例-->
  <div class="wrapper">
    <main-message :father="father" :is-show="isShow" />
  </div>
</template>

<script>
import MainMessage from '../../childComps/FormInfo/MainMessage'
export default {
  name: 'EmergencyCases',
  components: {
    MainMessage
  },
  data() {
    return {
      // 定义父亲
      father: 'EmergencyCases',
      //  显示哪些组件
      isShow: {
        // mainmessage 由三个部分构成，通过self设置是否显示这部分
        baseMessage: { self: true,
          jzsj: true, jzks: true, cfys: true,
          fb: true, brxm: true, xb: true, brnl: true, mzh: true,
          zd: true, dpjg2: true, brid: true, cfh: true
        },
        medicineMessage: {
          self: true, yp: true, yplx: true, kjylx: true, kjyjb: true,
          gytj: true, jblx: true, kjsby: true, kyyyp: true
        },
        samplingMessage: { self: false }
      }
    }
  }
}
</script>

<style scoped lang="scss">
  body{
    background:#e6edf5;
  }
  .wrapper{
    width: 100%;
    height: 100%;
    font-size: 12px;
  }
</style>
